{% extends 'base.html' %}

{% block container %}
<div class="top-pad">
    <h3>
        <ol>
            <li>Env：<samp style="color: red">{{ database.env }}</samp></li>
            <li>Host：<samp style="color: red">{{ database.host }}</samp></li>
            <li>port：<samp style="color: red">{{ database.port }}</samp></li>
            <li>username：<samp style="color: red">{{ database.username }}</samp></li>
            <li>password：<samp style="color: red">{{ database.password }}</samp></li>
            <li>database：<samp style="color: red">{{ database.database }}</samp></li>
            <li>apiPath：<samp style="color: red">{{ database.api_path }}</samp></li>
        </ol>
        <p>
            <a href="{{ url_for('cash_value.update_database', id=database.id) }} " style="color: #a22dc6">编辑</a>
            <a href="{{ url_for('cash_value.delete_database', id=database.id) }}" style="color: red"
               onclick="{if(confirm('确定删除吗?')){this.document.formname.submit();return true;}return false;}">删除</a>
        </p>
    </h3>
</div>
{% endblock %}
